<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<style type="text/css">
			.box{
				width: 200px;
				height: 300px;
				background-image: url(img/2019-09-30_151501.png);
				background-size: 200px 300px;
				overflow: hidden;
			}
			/*.clearfix:before{
				content: '';
				display: table;
			}*/
			.desc{
				height: 120px;
				margin-top: 300px;
				color: #FFFFFF;
				background-color: rgba(0,0,0,0.3);
				transition: margin-top 1s ease-in;
			}
			.box:hover .desc{
				margin-top: 180px;
			}
		</style>
	</head>
	<body>
		<div class="box clearfix">
			<div class="desc">
			<h1>文字标题</h1>
			<p>图片文字内容图片文字内容</p>
			</div>
		</div>
	</body>
</html>
